import { defineSeed } from "@/seed-application/types";

export default defineSeed({
  name: 'userRole',
  type: 'through',
  label: '用户角色',
  columns: {
    id: {type: 'char', length: 17, required: true, label: 'ID'},
    user_id: {type: 'ref', length: 17, required: true, label: '用户ID'},
    role_id: {type: 'ref', length: 17, required: true, label: '角色ID'}
  }
})